package components.tools.correction
{
	import UIFree.controls.uif_label;
	import UIFree.uif_component;
	
	import components.clt_component;
	import components.uif_center100;
	
	import flash.events.Event;
	import flash.geom.Rectangle;

	public class clt_correctionBasePanel extends clt_component {
		private var _cy: int;
		public function clt_correctionBasePanel(parent:uif_component, ax:int=0, ay:int=0, awidth:int=0, aheight:int=0) {
			super(parent, ax, ay, awidth, aheight, 'block');
		}
		
		override protected function createComponents(): void {
			_cy = -34;
		}

		protected function createScroll(labelCaption: String, a_styleClass: String = 'scrollbar'): uif_center100 {
			var inner: Rectangle = getInner();
			_cy += 34;
			(new uif_label(this, inner.x, inner.y + _cy, 70, 34, 'lbLabel')).text = labelCaption;
			inner.left += 70;
			return new uif_center100(this, inner.x, inner.y + _cy, inner.width, doUpdate, a_styleClass);			
		}
		
		protected function doUpdate(e: Event): void {
		}		
	}
}